/**
 * 
 */
package site.entity;

import site.helper.CategoryType;
import neoutil.CommonEntity;

/**
 * @author Neo
 * 
 */
public class Category extends CommonEntity {
	/**
	 * 模块-通知公告
	 */
	public static final int TZGG_MK = 81;
	/**
	 * 模块-平台简介
	 */
	public static final int PTJJ_MK = 82;
	/**
	 * 模块-重要论述
	 */
	public static final int ZYLS_MK = 83;
	/**
	 * 模块-理论探索
	 */
	public static final int LLTS_MK = 84;
	/**
	 * 模块-教学资源
	 */
	public static final int JXZY_MK = 85;
	/**
	 * 模块-成果展示
	 */
	public static final int CGZS_MK = 86;
	/**
	 * 模块-基地建设
	 */
	public static final int JDJS_MK = 87;
	/**
	 * 模块-实践联盟
	 */
	public static final int SJLM_MK = 88;
	/**
	 * 模块-在线调查
	 */
	public static final int ZXDC_MK = 89;

	/**
	 * 平台简介
	 */
	public static final int PTJJ = 2;
	/**
	 * 机构组成
	 */
	public static final int JGZC = 3;
	/**
	 * 工作流程
	 */
	public static final int GZLC = 4;
	/**
	 * 文件
	 */
	public static final int WJ = 5;
	/**
	 * 讲话
	 */
	public static final int JH = 6;
	/**
	 * 会议精神
	 */
	public static final int HYJS = 7;
	/**
	 * 著作要览
	 */
	public static final int ZZYL = 8;
	/**
	 * 论文集萃
	 */
	public static final int LWJC = 9;
	/**
	 * 思想纵横
	 */
	public static final int SXZH = 10;
	/**
	 * 教学方案
	 */
	public static final int YLK = 11;
	/**
	 * 教学课件
	 */
	public static final int TXK = 12;
	/**
	 * 教学录像
	 */
	public static final int GYK = 13;
	/**
	 * 视频资源
	 */
	public static final int JCK = 14;
	/**
	 * 形势与政策
	 */
	public static final int XSYZC = 28;
	/**
	 * 调研报告
	 */
	public static final int DYBG = 15;
	/**
	 * 优秀论文
	 */
	public static final int YXLV = 16;
	/**
	 * DV短片
	 */
	public static final int DVDP = 17;
	/**
	 * 其他成果
	 */
	public static final int QTCG = 18;
	/**
	 * 基地掠影
	 */
	public static final int JDLY = 19;
	/**
	 * 经验之谈
	 */
	public static final int JYZT = 12;
	/**
	 * 实践联盟
	 */
	public static final int SJLM = 21;
	/**
	 * 在线调查
	 */
	public static final int ZXDC = 22;
	/**
	 * 通知公告
	 */
	public static final int TZGG = 23;
	/**
	 * 最新动态
	 */
	public static final int ZXDT = 24;
	/**
	 * 实践风采
	 */
	public static final int SJFC = 25;
	/**
	 * 实践之星
	 */
	public static final int SJZX = 26;
	/**
	 * 资源征集
	 */
	public static final int ZYZJ = 27;

	public static final int LEVEL_TOP = 1;
	private int cid;
	private String name;
	private int parentCid;
	private int level = LEVEL_TOP;
	private int type = CategoryType.ARTICLE;

	public Category() {
		super();
	}

	public Category(int cid, String name) {
		super();
		this.cid = cid;
		this.name = name;
		this.parentCid = cid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getCid() {
		return cid;
	}

	public void setCid(int cid) {
		this.cid = cid;
	}

	public int getParentCid() {
		return parentCid;
	}

	public void setParentCid(int parentCid) {
		this.parentCid = parentCid;
	}

}
